Entity authentication method with introduction of online third party

ABSTRACT

An entity authentication method by introducing an online third party includes the following steps: 1) an entity B sends a message  1  to an entity A; 2) the entity A sends a message  2  to a trusted third party TP after receiving the message  1; 3 ) the trusted third party TP checks the validity of the entity A after receiving the message  2; 4 ) the trusted third party TP returns a message  3  to the entity A after checking the validity of the entity A;  5 ) the entity A sends a message  4  to the entity B after receiving the message  3; 6 ) and the entity B performs validation after receiving the message  4.  The online retrieval and authentication mechanism of the public key simplifies the operating condition of a protocol, and realizes validity identification of the network for the user through the authentication of the entity B to the entity A.

This application is a U.S. National Stage of International Application No. PCT/CN2009/076181, filed 29 Dec. 2009, designating the United States, and claiming priority to Chinese Patent Application No. 200910023735.5, filed with the State Intellectual Property Office of the People's Republic of China on Aug. 28, 2009 and entitled “Entity authentication method with introduction of online third party”, which is hereby incorporated by reference in its entirety.

FIELD OF THE INVENTION

The present invention relates to an entity authentication method and particularly to an entity authentication method with introduction of an online third party.

BACKGROUND OF THE INVENTION

An entity authentication method using an asymmetric cipher can be categorized into unidirectional authentication and bidirectional authentication. Uniqueness or temporality of authentication is identified with a time-varying parameter, which typically includes a time stamp, a sequence number, and a random number. If a time stamp or a sequence number is used as a time-varying parameter, message passing shall be used only once for the unidirectional authentication and twice for the bidirectional authentication; and if a random number is used as a time-varying parameter, message passing shall be used twice for the unidirectional authentication and three or four times for the bidirectional authentication (i.e., parallel authentications each with message passing for twice).

Regardless of authentication mechanism, a verifier has to be provided with a valid public key of an asserter prior to or during operation; otherwise an authentication process may be damaged or fail. Here, a bidirectional authentication method with message passing for three times is described as an example:

Referring to FIG. 1, there are tokens TokenAB=R_(A)∥R_(B∥B∥Text)3∥sS_(A) (R_(A)∥R_(B)∥B∥Text2) and TokenBA=R_(B)∥R_(A)∥A∥Text5∥sS_(B) (R_(B)∥R_(A)∥A∥Text4), where X represents an entity identifier, and there are two authentication entities A and B in the authentication system; Cert_(x) represents a certificate of the entity X; sS_(x) represents a signature of the entity X; R_(x) represents a random number generated by the entity X; and Text represents an optional text field.

A process in which the authentication mechanism with message passing for three times operates is detailed as follows.

1) The entity B transmits the random number R_(B) and the optional text Text1 to the entity A.

2) The entity A transmits the token TokenAB and the optional certificate Cert_(A) to the entity B.

3) The entity B performs the following steps upon reception of the message transmitted from the entity A:

3.1) The entity B ensures possession of a valid public key of the entity A by checking the certificate of the entity A or otherwise; and

3.2) The entity B obtains the public key of the entity A and then verifies the signature of TokenAB in the step 2), checks the identifier B for correctness and examines the random number R_(B) transmitted in the step 1) and the random number R_(B) in TokenAB for consistency to thereby verify the entity A.

4) The entity B transmits the token TokenBA and the optional certificate Cert_(B) to the entity A.

5) The entity A performs the following steps upon reception of the message including TokenBA transmitted from the entity B:

5.1) The entity A ensures possession of a valid public key of the entity B by checking the certificate of the entity B or otherwise; and

5.2) The entity A obtains the public key of the entity B and then verifies the signature of TokenBA in the step 4), checks the identifier A for correctness and examines the random number R_(A) transmitted in the step 2) and the random number R_(A) in TokenBA for consistency and the random number R_(B) received in the step 1) and the random number R_(B) in TokenBA for consistency to thereby verify the entity B.

As can be apparent, the authentication mechanism with message passing for three times has to ensure that each of the entities A and B possesses the valid public key of the other entity for successful operation, but neither how one party obtains the public key of the other party nor validity thereof has been mentioned in a protocol. This condition of guaranteeing a demand has not been satisfied in a variety of current application contexts. For example, a user access control function is typically performed with an entity authentication mechanism over a communication network in such a way that an access of a user to the network will not be allowed until the authentication mechanism is performed successfully, so it is impossible or difficult for the user to access a certificate institution to obtain validity of a public key of an opposite entity (a network access point) prior to authentication.

In an existing communication network, especially radio communication network, it is typically required to perform authentication between a user and a network access point to ensure both an access of a legal user to the network and an access of the user to a legal network, so the traditional entity authentication mechanism can be improved and good feasibility and usability thereof can be offered in a practical application if a network entity is not aware of a valid public key of an opposite communication entity prior to authentication but verifies the public key of the opposite entity during authentication.

SUMMARY OF THE INVENTION

The invention proposes an entity authentication method with introduction of an online third party to address the foregoing technical problem present in the prior art.

In a technical solution of the invention, the invention provides an entity authentication method with introduction of an online third party, which includes the steps of:

1) transmitting, by an entity B, to an entity A a message 1 including a random number R_(B) and an optional text Text1;

2) transmitting, by the entity A, to a trusted third party TP a message 2 including the random number R_(B), an identity I_(A) and an optional text Text2 upon reception of the message 1;

3) examining, by the trusted third party TP, the entity A for legality against the identity I_(A) upon reception of the message 2;

4) returning, by the trusted third party TP, to the entity A a message 3 including an entity verification result Res_(A), a token TokenTA and an optional text Text4 after examining the entity A for legality;

5) transmitting, by the entity A, to the entity B a message 4 including the entity verification result Res_(A), the token TokenTA and a token TokenAB upon reception of the message 3; and

6) verifying, by the entity B, upon reception of the message 4.

The step 6) includes:

6.1) verifying a signature of the trusted third party TP in TokenTA and examining the random number R_(B) generated by the entity B in the message 1 and the random number R_(B) in the signature of the trusted third party TP included in TokenTA for consistency, and performing a step 6.2) if the verification is passed;

6.2) obtaining the verification result Res_(A) of the entity A, and performing a step 6.3) if the entity A is legally valid; otherwise, ending; and 6.3) obtaining a public key of the entity A, verifying a signature of the entity A in TokenAB, examining the random number R_(B) generated by the entity B in the message 1 and the random number R_(B) in the signature of the entity A included in TokenAB for consistency, and finishing, by the entity B, authentication of the entity A if the verification is passed.

Examining the entity A for legality in the step 3) comprises: in the message 2, if the identity I_(A) of the entity A is an identifier A of the entity A, searching for, by the trusted third party TP, a valid public key PublicKey_(A) of the entity A; or if the identity I_(A) of the entity A is a certificate Cert_(A) of the entity A, examining, by the trusted third party TP, the certificate Cert_(A) for validity Valid_(A).

The random numbers R_(A) and RB can be replaced with time stamps or sequence numbers.

The token fields are:

TokenTA=sS_(T)(R_(B)∥Res_(A)∥Text3)

TokenAB=Text6∥I_(A)∥sS_(A)(A∥R_(B)∥Res_(A)∥TokenTA∥Text5).

In the tri-entity architecture adopted in the invention, an authentication entity shall obtain a public key or a certificate of a trusted third party and a user certificate distributed thereto from the trusted third party or submit its own public key to the trusted third party for safekeeping prior to authentication without being aware in advance of a valid public key of an opposite authentication entity. During operation of a protocol, the public key of the authentication entity and validity thereof can be transported automatically to the opposite end in need of them through searching and verification at the trusted third party. As compared with the traditional authentication mechanism, the invention discloses a public key online retrieval and authentication mechanism in which the public keys are managed centrally and an operation condition of the protocol is simplified to facilitate an application and implementation thereof.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic diagram of authentication in an authentication mechanism with message passing for three times in the prior art; and

FIG. 2 is a schematic diagram of a method according to an embodiment of the invention.

DETAILED DESCRIPTION OF THE EMBODIMENTS

The method according to the embodiment of the invention involves three entities including two authentication entities A and B and a Trusted third Party (TP) which is a trusted third party of the authentication entities A and B and provides the entities A and B with an authentication service. Such a system in which peer authentication between the two entities A and B is performed through the trusted third party TP is referred to as a Tri-element Peer Authentication (TePA) system.

Symbols are Defined Below for the Sake of Convenience:

Valid_(x) represents validity of a certificate Cert_(x); PublicKey_(x) represents a public key of an entity X (X represents A or B); I_(x) represents an identity of the entity X and is represented as the certificate Cert_(x) or an identifier X of the entity; Res_(x) represents the verification result of the entity X and is composed of the certificate Cert_(x) and validity thereof Valid_(x) or of the entity X and the public key thereof PublicKey_(x); and Token represents a token field.

Referring to FIG. 2, token fields of the embodiment of the invention are defined below:

TokenTA=sS_(T)(R_(B)∥Res_(A)∥Text3)

TokenAB=Text6∥I_(A)∥sS_(A) (A∥R_(B)∥Res_(A)∥TokenTA∥Text5)

A flow in which the entity B authenticates the entity A is as follows.

1) The entity B intending to authenticate the entity A transmits to the entity A a message 1 including a random number R_(B) and an optional text Text1

2) The entity A transmits to the trusted third party TP a message 2 including the random number R_(B), an identity I_(A) and an optional text Text2 upon reception of the message 1.

3) The trusted third party TP examines the entity A for legality against the identity I_(A) upon reception of the message 2:

in the message 2, if the identity I_(A) of the entity A is an identifier A of the entity A, the trusted third party TP searches for a valid public key PublicKey_(A) of the entity A; or if the identity I_(A) of the entity A is a certificate Cert_(A) of the entity A, the trusted third party TP examines the certificate Cert_(A) for validity Valid_(A).

4) The trusted third party TP returns to the entity A a message 3 including an entity verification result Res_(A), a token Token TA and an optional text Text4 after examining the entity A for legality.

5) The entity A transmits to the entity B a message 4 including the entity verification result Res_(A), the token Token TA and a token TokenAB upon reception of the message 3.

6) The entity B performs verification upon reception of the message 4:

6.1) The entity B verifies a signature of the trusted third party TP in Token TA and examines the random number R_(B) generated by the entity B in the message 1 and the random number R_(B) in the signature of the trusted third party TP included in Token TA for consistency, and the step 6.2) is performed if the verification is passed;

6.2) The entity B obtains the verification result Res_(A) of the entity A, and the step 6.3) is performed if the entity A is legally valid; otherwise, the flow ends; and 6.3) The entity B obtains the public key of the entity A, verifies a signature of the entity A in TokenAB, examines the random number R_(B) generated by the entity B in the message 1 and the random number R_(B) in the signature of the entity A included in TokenAB for consistency, and if the verification is passed, the entity B finishes authentication of the entity A.

The random numbers R_(A) and R_(B) may be replaced with time stamps or sequence numbers.

In a practical application, this authentication system is typically applied in such a way that the entity B resides on a communication user equipment and the entity A resides on a network access point, and with the method for authentication between the entity A and the entity B in the foregoing embodiment, a user can authenticate the legality of the network access point to ensure legality of a network accessed by the user. 

1. An entity authentication method with introduction of an online third party, comprising the steps of: 1) transmitting, by an entity B, to an entity A a message 1 comprising a random number R_(B) and an optional text Text1; 2) transmitting, by the entity A, to a trusted third party TP a message 2 comprising the random number R_(B), an identity l_(A) and an optional text Text2 upon reception of the message 1; 3) examining, by the trusted third party TP, the entity A for legality against the identity l₄ upon reception of the message 2; 4) returning, by the trusted third party TP, to the entity A a message 3 comprising an entity verification result Res_(A), a token TokenTA and an optional text Text4 after examining the entity A for legality; 5) transmitting, by the entity A, to the entity B a message 4 comprising the entity verification result Res_(A), the token TokenTA and a token TokenAB upon reception of the message 3; and 6) verifying, by the entity B, upon reception of the message
 4. 2. The entity authentication method with introduction of an online third party according to claim 1, wherein the step 6) comprises: 6.1) verifying a signature of the trusted third party TP in TokenTA and examining the random number R_(B) generated by the entity B in the message 1 and the random number R_(B) in the signature of the trusted third party TP comprised in TokenTA for consistency, and performing a step 6.2) if the verification is passed; 6.2) obtaining the verification result Res _(A) of the entity A, and performing a step 6.3) if the entity A is legally valid; otherwise, ending; and 6.3) obtaining a public key of the entity A, verifying a signature of the entity A in TokenAB, examining the random number R_(B) generated by the entity B in the message 1 and the random number R_(B) in the signature of the entity A comprised in TokenAB for consistency, and finishing, by the entity B, authentication of the entity A if the verification is passed.
 3. The entity authentication method with introduction of an online third party according to claim 1, wherein examining the entity A for legality in the step 3) comprises: in the message 2, if the identity I_(A) of the entity A is an identifier A of the entity A, searching for, by the trusted third party TP, a valid public key PublicKey_(A) of the entity A; or if the identity I/_(A) of the entity A is a certificate Cert_(A) of the entity A, examining, by the trusted third party TP, the certificate Cert_(A) for validity Valid_(A).
 4. The entity authentication method with introduction of an online third party according to claim 3, wherein the random numbers R_(A) and R_(B) can be replaced with time stamps or sequence numbers.
 5. The entity authentication method with introduction of an online third party according to claim 1, wherein the token fields are: TokenTA=sS_(T)(R_(B)∥Res_(A)∥Text3) TokenAB=Text6∥I₄∥sS_(A)(A∥R_(B)∥Res_(A)∥TokenTA∥(Text5).
 6. The entity authentication method with introduction of an online third party according to claim 2, wherein the token fields are: TokenTA=sS_(T)(R_(B)∥Res_(A)∥Text3) TokenAB=Text6∥I_(A)∥sS_(A)(A∥R_(B)∥Res_(A)∥TokenTA∥Text5)
 7. The entity authentication method with introduction of an online third party according to claim 3, wherein the token fields are: TokenTA=sS_(T)(R_(B)∥Res_(A)∥Text3) TokenAB=Text6∥I_(A)∥sS_(A)(A∥R_(B)∥Res_(A)∥TokenTA∥Text5).
 8. The entity authentication method with introduction of an online third party according to claim 4, wherein the token fields are: TokenTA=sS_(T)(R_(B)∥Res_(A)∥Text3) TokenAB=Text6∥I_(A)∥sS_(A)(A∥R_(B)∥Res_(A)∥TokenTA∥Text5). 